<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:if test="${empty historyList }">	
<p class="msg info">没有符合条件的记录</p>
</c:if>
<c:if test="${!empty historyList }">	
<table style="width: 100%;">
<tbody>
	<tr>
		<th width="60%" align="left">
			返利时间
		</th>
		<th width="40%" align="left">
			返利金额
		</th>
	</tr>
	<c:forEach items="${historyList }" var="history"
		varStatus="status">
		<c:if test="${status.count%2==0}">
			<tr class="tg">
		</c:if>
		<c:if test="${status.count%2!=0}">
			<tr>
		</c:if>
		<td>
			${history.returnDate }
		</td>
		<td>
			${history.returnAmount }
		</td>
		</tr>
	</c:forEach>
	
	</tbody>
</table>
</c:if>